package com.imooc.pojo.VO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * @author lihongyu
 * @CreateTime 2021-10-13 11:43
 * @Description 最新商品视图封装实体
 */
@ApiModel("最新商品视图封装实体")
public class NewItemVO implements Serializable {

    /**
     * 分类唯一标识
     */
    @ApiModelProperty(name = "rootCatId",value = "分类唯一标识",dataType = "Integer")
    private Integer rootCatId;

    /**
     * 分类名称
     */
    @ApiModelProperty(name = "rootCatName",value = "分类名称",dataType = "String")
    private String rootCatName;

    /**
     * 口号
     */
    @ApiModelProperty(name = "slogan",value = "口号",dataType = "String")
    private String slogan;

    /**
     * 分类图片
     */
    @ApiModelProperty(name = "catImage",value = "分类图片",dataType = "String")
    private String catImage;

    /**
     * 背景色
     */
    @ApiModelProperty(name = "bgColor",value = "背景色",dataType = "String")
    private String bgColor;

    /**
     * 简单商品信息列表
     */
    private List<SimpleItemVO> simpleItemList;

    public Integer getRootCatId() {
        return rootCatId;
    }

    public void setRootCatId(Integer rootCatId) {
        this.rootCatId = rootCatId;
    }

    public String getRootCatName() {
        return rootCatName;
    }

    public void setRootCatName(String rootCatName) {
        this.rootCatName = rootCatName;
    }

    public String getSlogan() {
        return slogan;
    }

    public void setSlogan(String slogan) {
        this.slogan = slogan;
    }

    public String getCatImage() {
        return catImage;
    }

    public void setCatImage(String catImage) {
        this.catImage = catImage;
    }

    public String getBgColor() {
        return bgColor;
    }

    public void setBgColor(String bgColor) {
        this.bgColor = bgColor;
    }

    public List<SimpleItemVO> getSimpleItemList() {
        return simpleItemList;
    }

    public void setSimpleItemList(List<SimpleItemVO> simpleItemList) {
        this.simpleItemList = simpleItemList;
    }

    @Override
    public String toString() {
        return "NewItemVO{" +
                "rootCatId=" + rootCatId +
                ", rootCatName='" + rootCatName + '\'' +
                ", slogan='" + slogan + '\'' +
                ", catImage='" + catImage + '\'' +
                ", bgColor='" + bgColor + '\'' +
                ", simpleItemList=" + simpleItemList +
                '}';
    }
}
